{volist name="userList" id="list"}
    <tr data-id="{$list['user_id']}">
        <td><input type="checkbox" class="js-check"  data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$list.user_id}"></td>
        <td>{$list.user_id}</td>
        <td>{$list.nickname}</td>
        <td>{$level[$list['level']]}</td>
        <td class="am-hide-sm-only">{$list.total_amount}</td>
        <td class="am-hide-sm-only">
            {if condition="($list['email_validated'] eq 0) AND ($list['email'])"}
            (未验证)
            {/if}
        </td>
        <td class="am-hide-sm-only">
            {if condition="($list['mobile_validated'] eq 0) AND ($list['mobile'])"}
            (未验证)
            {/if}
        </td>
        <td>{$list.user_money}</td>
        <td>{$list.pay_points}</td>
        <td>{$list.reg_time|date='Y-m-d H:i'}</td>
        <td>
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <a class="am-btn am-btn-default am-btn-xs am-text-secondary" href="{:url('admin/admin_info', array('user_id'=>$list['user_id']))}"><i class="am-icon-pencil-square-o"></i> 编辑</a>
                    <a class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only js-ajax-delete" href="{:url('admin/adminHandle', array('user_id'=>$list['user_id'], 'act'=>'del'))}" data-msg="确定要删除吗？"><i class="am-icon-trash-o"></i> 删除</a>
                </div>
            </div>
        </td>
    </tr>
{/volist}
<tr class="button-tr">
    <td colspan="11">
        <div class="am-cf">
            {$page|raw}
        </div>
    </td>
</tr>
<script src="__ADMIN__/js/admin.js"></script>
<script>
    $(".am-pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });
</script>